package org.gitman.agentplatform.ui.summary;

import java.awt.event.MouseEvent;

import javax.swing.JTable;

public class AgentSummaryTable extends JTable {

	private AgentSummaryTabelModel model;
	
	public AgentSummaryTable(AgentSummaryTabelModel model) {
		super(model);
		this.model = model;		
	}
	
	@Override
	public String getToolTipText(MouseEvent event) {
		int column = columnAtPoint(event.getPoint());
		return model.getColumnDesciption(column);		
	}

}
